<div id="status">
<?php if ($session->check('User')){ 
	$user = $session->read('User');
	echo $html->image('user.png', array('alt'=> __('status', true), 'border'=>"0"));
?>
	<strong><? echo $user['username']; ?></strong><br />
	<? echo $form->create('user', array('action' => 'logout')); 
	echo $form->submit('Logout', array('id' => 'logout'));
	echo $form->end();
} ?>
</div>
	